module.exports = app => {
    const { router, controller } = app;
    const va = app.middleware.user.validateAdmin();

    router.get('/tags/list', controller.tags.list);

    router.post('/tags/add', va, controller.tags.add);

    router.post('/tags/update', va, controller.tags.update);

    router.get('/tags/delete', va, controller.tags.delete);
}